CC = iccavr
CFLAGS =  -I..\lib\ -e -D__ICC_VERSION="7.07" -DATMEGA -D_EE_EXTIO -DATMega2560  -l -g -Mavr_extended 
ASFLAGS = $(CFLAGS)  -Wa-g
LFLAGS =  -g -ucrtatmega.o -bfunc_lit:0xe4.0x10000 -dram_end:0x21ff -bdata:0x200.0x21ff -dhwstk_size:16 -beeprom:0.4096 -fihx_coff -S2
FILES = util.o uart2_avrstudio.o 

UART2_ICCAVR:	$(FILES)
	$(CC) -o UART2_ICCAVR $(LFLAGS) @UART2_ICCAVR.lk   -lcatmega
util.o: D:\svn\atmega\rabbit_2560\sw\basic\lib\hw_config.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\stdio.h C:\iccv7avr\include\stdarg.h C:\iccv7avr\include\_const.h C:\iccv7avr\include\string.h C:\iccv7avr\include\stdlib.h C:\iccv7avr\include\limits.h D:\svn\atmega\rabbit_2560\sw\basic\lib\util.h
util.o:	D:\svn\atmega\rabbit_2560\sw\basic\lib\util.c
	$(CC) -c $(CFLAGS) D:\svn\atmega\rabbit_2560\sw\basic\lib\util.c
uart2_avrstudio.o: D:\svn\atmega\rabbit_2560\sw\basic\lib\hw_config.h C:\iccv7avr\include\iom2560v.h C:\iccv7avr\include\macros.h C:\iccv7avr\include\stdio.h C:\iccv7avr\include\stdarg.h C:\iccv7avr\include\_const.h C:\iccv7avr\include\string.h C:\iccv7avr\include\stdlib.h C:\iccv7avr\include\limits.h D:\svn\atmega\rabbit_2560\sw\basic\lib\util.h D:\svn\atmega\rabbit_2560\sw\basic\lib\uart.h
uart2_avrstudio.o:	D:\svn\atmega\rabbit_2560\sw\basic\uart2_iccavr\uart2_avrstudio.c
	$(CC) -c $(CFLAGS) D:\svn\atmega\rabbit_2560\sw\basic\uart2_iccavr\uart2_avrstudio.c
